import 'package:flutter/material.dart';
import 'package:village_android/component/widget_banner.dart';

class BannerPage extends StatelessWidget {

  List<String> items = [];
  BannerPage({this.items});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: items.length >0? CustomBanner(items):null
    );
  }
}